<div class="margin-page">
  <h2><?php echo $teacher ?></h2><br/>
  <div class="photo"><img src="<?php echo $teacher->getThumbnail() ?>" /></div><br/>
  <p><?php echo $teacher->getProfession() ?></p><br/>
  <p><?php echo $teacher->getInfo() ?></p><br/><br/>
</div>
